﻿{% extends "base.html" %}
{% block content %}
<tr>
  <td> 
    <p>{{summary}}</p>
  <div align="center">
 	  <table align="center" bgcolor="#d6d3ce" border="0" cellpadding="10" cellspacing="1" width="680">
 		  <tbody>
 			  <tr bgcolor="#ffffcc">
 				  <td align="middle" colspan="3" height="36"> <strong>作品阅读</strong></td>
 			  </tr>
        {% for obj in object_list %}
   			<tr bgcolor="#ffffff">
   				<td height="40" width="33%">
            <a href="/tool/article_detail/{{obj.id}}.html" title="{{obj.title}}" target="_blank"><strong>{{obj.title}}</strong></a>
          </td>
   				<td width="33%">
            <a href="#" target="_blank"><strong>{{obj.author.name}}</strong></a></td>
   				<td width="33%">
            <a href="#" target="_blank"><strong>{{obj.series.name }}</strong></a></td>
   			</tr>
        {% endfor %}
 		  </tbody>
 	  </table>
    {% if is_paginated %}
    <div align="center">
      {% if page_obj.has_previous %}
      <a href="?page={{ page_obj.previous_page_number }}" title="{{ page_obj.previous_page_number }}">  上一页 </a>
      {% endif %}
      <span> 第 {{ page_obj.number }} 页 </span>
      <span> 共 {{  paginator.count }} 页</span>
      {% if page_obj.has_next %}
      <a href="?page={{ page_obj.next_page_number }}" title="{{ page_obj.next_page_number }}">  下一页 </a>
      {% endif %}
    </div>
    {% endif %}
  </div>
</td>
</tr>
{% endblock %}

{% block crumbs %}
  <strong>当前位置:</strong> 
  <a href="/tool/article_list/1/1/">首页</a>
  {% for tag in crumbs %} >> <span>{{ tag.name }}</span> {% endfor %}
{% endblock %}
